package com.ithemai;

import java.io.FileWriter;
import java.io.IOException;

/**
 * @auther Macrydy
 * @date 2020/7/4 10:32
 */
public class Demo1 {
    public static void main(String[] args) throws IOException {
        FileWriter fw = new FileWriter("b.txt",true);
        fw.write("张三");
        fw.flush();
        fw.write("666");
        fw.flush();
        fw.close();
    }
}
